Component({
    properties: {
        num: Number,
        gid: Number
    },

    data: {

    },


    methods: {
        minus(e) {
            this.triggerEvent('minus', {
                num: this.properties.num,
                gid: this.properties.gid
            })
        },
        add() {
            this.triggerEvent('add', {
                num: this.properties.num,
                gid: this.properties.gid
            })
        }

    }
})